﻿// JScript 文件

// 样表类别
function EvalItems (RID, EvalName, Remarks)
{
    this.RID = RID;
    this.EvalName = EvalName;
    this.Remarks = Remarks;
};

// 样表
function Template (RID, EvalItemId, TemplateName, Style, EvalType)
{
    this.RID = RID;
    this.EvalItemId = EvalItemId;
    this.TemplateName = TemplateName;
    this.Style = Style;
    this.EvalType = EvalType;
};

// 题目类别
function QuesitonType (RID, TID, QtName, QtPosition)
{
    this.RID = RID;
    this.TID = TID;
    this.QtName = QtName;
    this.QtPosition = QtPosition;
};

// 题目
function Question (RID, QTID, QType, QContext, QPosition, QOpt, QScore)
{
    this.RID = RID;
    this.QTID = QTID;
    this.QType = QType;
    this.QContext = QContext;
    this.QPosition = QPosition;
    this.QOpt = QOpt;
    this.QScore = QScore;
};

// 选项
function Opt (index, title, score)
{
    this.index = index;
    this.title = title;
    this.score = score;
}